<h3 class="page-title"></h3>
<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="<?php echo url_for('@homepage') ?>" title="Эхлэл хуудасруу буцах" >Эхлэл</a>
        <?php if (count($path) > 1): ?>
            <span class="icon-angle-right"></span>
        <?php endif ?>
    </li>
    <?php foreach ($path as $i => $p): ?>
        <?php if ($p['route'] != 'homepage'): ?>
            <li>
                <a href="<?php echo $p['route'] ? url_for('@' . $p['route']) : '#' ?>" ><?php echo $p['title'] ?></a>
                <?php if (count($path) - 1 > $i): ?>
                    <span class="icon-angle-right"></span>
                <?php endif ?>
            </li>
        <?php endif ?>
    <?php endforeach; ?>
</ul>
